import os
f1 = open("ex6_8.txt", "a+")
f1.write("\n我对学习Python很痴迷！")
f1.close()
f2 = open("ex6_8.txt", "r")
str = f2.read()
print(str)

